package com.lingjtx.common.other.model.sms;

/**
 * 短信验证码参数
 */
public class CodeTemplate {
    private String msg;

    private String deviceName;

    private String errorType;

    public CodeTemplate() {
    }

    public CodeTemplate(String msg) {
        this(msg, null, null);
    }

    public CodeTemplate(String deviceName, String errorType) {
        this(null, deviceName, errorType);
    }

    public CodeTemplate(String msg, String deviceName, String errorType) {
        this.msg = msg;
        this.deviceName = deviceName;
        this.errorType = errorType;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public String getDeviceName() {
        return deviceName;
    }

    public void setDeviceName(String deviceName) {
        this.deviceName = deviceName;
    }

    public String getErrorType() {
        return errorType;
    }

    public void setErrorType(String errorType) {
        this.errorType = errorType;
    }
}
